﻿using Custom.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Custom.Business.Sale
{
    public partial class frmCusSaleList : PopupFormWithCover
    {
        private int cusid = 0;

        public frmCusSaleList(int cusid)
        {
            InitializeComponent();

            this.cusid = cusid;
        }

        private void frmCusSaleList_Load(object sender, EventArgs e)
        {
            frmSaleList frm = new frmSaleList(this.cusid);
            frm.ShowCover = false;
            frm.Dock = DockStyle.Fill;
            frm.TopLevel = false;
            frm.Parent = this;
            this.panel1.Controls.Add(frm);
            frm.Show();
        }
    }
}
